<div id="heading">
    <div id="headinginner">
        <h1><span>Korisnički nalozi</span></h1>
    
        <p class="clear"></p>
    </div>
    <div id="stage-inner" class="nopaddingtop">
        <div class="dividersmall"></div>
        <style>
            table tr td{
                padding: 4px 4px;
            }
        </style>
        <table style="padding: 6px 0; font-size: 13px; color: #555;"> 
        <thead>
            <th>ID</th>
            <th>Firma</th>
            <th>Email</th>
            <th>Ime</th>
            <th>Prezime</th>
            <th>Grad</th>            
            <th>ZIP</th>
            <th>Telefon</th>
            <th>Sajt</th>
            <th>Napomena</th>
            <th>Država</th>
            <th>Akcija</th>            
        </thead>       
        <?
            foreach($nalozi as $nalog){
                ?> 
                    <!--acounttype_id     datecreated     dateexpires -->
                    <tr>
                        <td><?=$nalog->id;?></td>
                        <td><?=$nalog->company;?></td>
                        <td><?=$nalog->email;?></td>
                        <td><?=$nalog->firstname;?></td>
                        <td><?=$nalog->lastname;?></td>                        
                        <td><?=$nalog->city;?></td>
                        <td><?=$nalog->zip;?></td>
                        <td><?=$nalog->phone;?></td>
                        <td><?=$nalog->website;?></td>
                        <td><?=$nalog->additionalnotes;?></td>
                        <td><?=$nalog->country_ccode;?></td>
                        <td><a href="<?base_url()?>nalog/nalog/uredi_nalog/<?=$nalog->id?>">Uredi</a></td>
                   </tr>            
                <?                
            }
        ?>
        </table> 
    </div>
</div>